package com.share.rest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * author:caifan
 * date:2019/7/30
 */
@RestController
@RequestMapping("/rest/hello")
public class HelloController {

    @RequestMapping("/test")
    public String hello() {
        return "hello";
    }
}
